window_get_height

Gets the height of the window.

语法:

window_get_height();


返回: Real(实数)


描述

这个函数可以获取游戏窗口的高度(像素为单位)。


例如:

hh = window_get_height();

上述代码将获取当前窗口的高度,保存到变量"hh"中。


上一页:游戏窗口
下一页: window_get_width
© Copyright YoYo Games Ltd. 2018 All Rights Reserved